% if User.current.allowed_to?(:view_agile_queries, @project, :global => true) %>
<%= link_to l(:label_agile_board), {:controller => "agile_boards", :action => "index", :project_id => @project} %>
<% end %>
<% if User.current.allowed_to?(:manage_agile_verions, @project) && @project.versions.open.any? %>
<%= link_to l(:label_agile_version_planning), {:controller => "agile_versions", :action => "index", :project_id => @project} %>
<% end %>